package com.lgmshare.k3.ui.list;

import android.content.Context;

import com.lgmshare.component.widget.recyclerview.RecyclerViewHeaderFooterAdapter;
import com.lgmshare.component.widget.recyclerview.RecyclerViewHolder;
import com.lgmshare.k3.R;

import java.util.List;

public class ShootCircleAdapter extends RecyclerViewHeaderFooterAdapter<String> {

    public ShootCircleAdapter(Context context) {
        super(context);
    }

    public ShootCircleAdapter(Context context, List<String> data) {
        super(context, data);
    }

    @Override
    protected int onBindItemViewResId() {
        return R.layout.adapter_image;
    }

    @Override
    protected void onBindItemViewData(RecyclerViewHolder holder, String item) {
        bindItemChildClickListener(holder.getView(R.id.button2), holder);
        holder.setImageUrl(R.id.iv_logo, item);
    }
}
